package com.stud.business.stud.domain;

import com.stud.common.annotation.Excel;
import com.stud.common.core.domain.BaseEntity;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.SqlCondition;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.*;

/**
 * stud对象 t_stud
 *
 * @author Stud
 * @date 2023-07-27
 */
@ApiModel("stud")
@Data
@TableName("t_stud")
public class Stud extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @TableField(condition = SqlCondition.LIKE)
    @Excel(name = "名字")
    @ApiModelProperty(name = "name", value = "名字")
    private String name;

    @Excel(name = "年龄")
    @ApiModelProperty(name = "age", value = "年龄")
    private Long age;

    @Excel(name = "性别")
    @ApiModelProperty(name = "sex", value = "性别")
    private String sex;

}
